<template>
  <div class="w-full h-full">
    <h1>设置</h1>
    <el-card class="box-card">
      <template #header>
        <div class="card-header">
          <span>WebSocket 连接状态</span>
        </div>
      </template>
      <WebSocketStatus />
    </el-card>
  </div>
</template>

<script setup>
import WebSocketStatus from '@/components/WebSocketStatus.vue';
import { ElCard } from 'element-plus';
</script>

<style scoped>
.box-card {
  width: 480px;
  margin-top: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style>
